
<div id="comment_list">
  <table width="100%" cellpadding="0" cellspacing="0">
   <?php $_from = $this->_var['comments']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'Comment');if (count($_from)):
    foreach ($_from AS $this->_var['Comment']):
?>
   <?php if ($this->_var['Comment']['up_time'] == 0): ?>
  <tr>
    <td width="10"></td>

    <td align="left" colspan="2" class="content"><?php echo $this->_var['Comment']['content']; ?>
    </td>
    <td width="10"></td>
  </tr>
    
  <tr>
    <td class="name"></td>
    <td align="left" class="name"><?php echo $this->_var['Comment']['username']; ?> </td> 
    <td align="right" class="name"><?php echo $this->_var['Comment']['add_time']; ?></td>
    <td class="name"></td>
  </tr>
    <?php else: ?>
  <tr>
    <td width="10"></td>

    <td align="left" colspan="2" class="content"><?php echo $this->_var['Comment']['content']; ?>
    </td>
    <td width="10"></td>
  </tr>
    
  <tr>
    <td ></td>
    <td align="left"  width="80" class="color"><?php echo $this->_var['Comment']['username']; ?> </td> 
    <td align="right" class="color"><?php echo $this->_var['Comment']['add_time']; ?></td>
    <td ></td>
  </tr>
  
  <tr>
    <td class="borders"></td>
    <td class="borders"><?php echo $this->_var['Comment']['agio_time']; ?>天后追加</td>
    <td class="borders"><?php echo $this->_var['Comment']['content_more']; ?></td>
    <td class="borders"></td>
  </tr>
    <?php endif; ?>
  <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
  </table>
</div>
<?php if ($this->_var['pager']['page_count'] > 1): ?>
<form name="selectPageForm" action="<?php echo $_SERVER['PHP_SELF']; ?>" method="get">
         <div id="pager" class="pagebar">
          <div class="pager">
          <?php if ($this->_var['pager']['page_prev']): ?><a class="prev" href="<?php echo $this->_var['pager']['page_prev']; ?>"></a><?php endif; ?>
          <?php $_from = $this->_var['pager']['number']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item_0_87298900_1443518841');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['item_0_87298900_1443518841']):
?>
                <?php if ($this->_var['pager']['page'] == $this->_var['key']): ?>
                <a class="page_now"><?php echo $this->_var['key']; ?></a>
                <?php else: ?>
                <a href="<?php echo $this->_var['item_0_87298900_1443518841']; ?>"><?php echo $this->_var['key']; ?></a>
                <?php endif; ?>
            <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
          <?php if ($this->_var['pager']['page_next']): ?><a class="next" href="<?php echo $this->_var['pager']['page_next']; ?>"></a><?php endif; ?>
            <span class="count">一共<?php echo $this->_var['pager']['page_count']; ?>页</span>
          </div>
        </div>
   </form>
<?php endif; ?>
  

